// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** deleteEquipmentInformation POST /api/equipment/information/delete */
export async function deleteEquipmentInformationUsingPost(
  body: API.DeleteRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean_>('/api/equipment/information/delete', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}

/** listEquipmentInformationByPage POST /api/equipment/information/listEquipmentInformationByPage */
export async function listEquipmentInformationByPageUsingPost(
  body: API.EquipmentInformationDTO,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponsePageEquipmentInformationDTO_>(
    '/api/equipment/information/listEquipmentInformationByPage',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  )
}

/** reportEquipmentHealth POST /api/equipment/information/reportHealth */
export async function reportEquipmentHealthUsingPost(
  body: API.EquipmentInformationDTO,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean_>('/api/equipment/information/reportHealth', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}

/** updateEquipmentInformation POST /api/equipment/information/update */
export async function updateEquipmentInformationUsingPost(
  body: API.EquipmentInformationDTO,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean_>('/api/equipment/information/update', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}

/** updateEquipmentStatus POST /api/equipment/information/updateStatus */
export async function updateEquipmentStatusUsingPost(
  body: API.EquipmentInformationDTO,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean_>('/api/equipment/information/updateStatus', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}
